/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.mxdx.edu.model;

import java.util.Date;

import org.hibernate.validator.constraints.Length;

/**
 * 家庭成员Entity
 * @author guoxc
 * @version 2018-02-13
 */
public class FamilyMembeInfo {
	
	private String id;   //主键
	private String studentId;		// 学生id
	private String appellation;		// 称谓
	private String memberName;		// 姓名
	private String age;		// 年龄
	private String politicalOutlook;		// 政治面貌
	private String workingUnit;		// 工作（学习）单位
	private String contactPhone;		// 联系电话
	private Date createDate;//创建时间
	private Date updateDate;//更新时间

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Length(min=0, max=32, message="学生id长度必须介于 0 和 32 之间")
	public String getStudentId() {
		return studentId;
	}

	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}
	
	@Length(min=0, max=2, message="称谓长度必须介于 0 和 2 之间")
	public String getAppellation() {
		return appellation;
	}

	public void setAppellation(String appellation) {
		this.appellation = appellation;
	}
	
	@Length(min=0, max=100, message="姓名长度必须介于 0 和 100 之间")
	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}
	
	@Length(min=0, max=5, message="年龄长度必须介于 0 和 5 之间")
	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}
	
	@Length(min=0, max=1, message="政治面貌长度必须介于 0 和 1 之间")
	public String getPoliticalOutlook() {
		return politicalOutlook;
	}

	public void setPoliticalOutlook(String politicalOutlook) {
		this.politicalOutlook = politicalOutlook;
	}
	
	@Length(min=0, max=100, message="工作（学习）单位长度必须介于 0 和 100 之间")
	public String getWorkingUnit() {
		return workingUnit;
	}

	public void setWorkingUnit(String workingUnit) {
		this.workingUnit = workingUnit;
	}
	
	@Length(min=0, max=20, message="联系电话长度必须介于 0 和 20 之间")
	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
}